CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
project(auction)

#set include files: *.h, *.hpp, *.hh in this project
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/)
FILE(GLOB_RECURSE PROJECT_HEADERS  "include/*.h")

#set source files:*.cpp, *.c, *.cc in this project
FILE(GLOB_RECURSE PROJECT_SOURCES  "src/*.cpp")
#set library files: *.lib in this project
#set executable output directory;
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PROJECT_SOURCE_DIR}/bin)   
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PROJECT_SOURCE_DIR}/bin) 

add_executable(app_${PROJECT_NAME} ${PROJECT_SOURCES} ${PROJECT_HEADERS})
target_link_libraries(app_${PROJECT_NAME} ${PROJECT_LIBRARIES})

